{layout name="p/base"}
    <div class="row">
      <div class="col-lg-12">
        <h1>营地信息 </h1>
        <ol class="breadcrumb">
          <li><a href="/manager/index"><i class="fa fa-dashboard"></i> 管理首页</a></li>
          <li><a href="/campcontrol/index"><i class="fa fa-dashboard"></i> 营地列表信息</a></li>
          <li class="active"><i class="fa fa-table"></i> 营地信息查看</li>
        </ol>
        <div class="alert alert-success alert-dismissable">
          <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
          这里可以查看营地信息
        </div>
      </div>
    </div>
    <!-- /.row -->
    <div class="row">
      <div class="col-lg-12">
        <div class="table-responsive">
          <table class="table table-hover table-striped tablesorter">
            <tbody>
              <tr>
                <td>营地编号</td>
                <td>{$list.number}</td>
                <td>营地名称</td>
                <td>{$list.name}</td>
              </tr>
              <tr>
                <td>营地类型</td>
                <td>{$list->getType($list->type)}</td>
                <td>营地星级</td>
                <td>{$list->getGrade($list->grade)}</td>
              </tr>
              <tr>
                <td>超级管理员手机号</td>
                <td>{$list.campmanager_phone}</td>
                <td>负责人姓名</td>
                <td>{$list.campmanager_name}</td>
              </tr>
              <tr>
                <td>营地联系方式</td>
                <td>{$list.tel}</td>
                <td>邮箱</td>
                <td>{$list.email}</td>
              </tr>
              <tr>
                <td>法人代表</td>
                <td>{$list.legal_person}</td>
                <td>统一社会信用代码</td>
                <td>{$list.credit_code}</td>
              </tr>
              <tr>
                <td>泊位数量</td>
                <td>{$list.count}</td>
                <td>营地旅行币基数</td>
                <td>{$list.travel_money_base}</td>
              </tr>
              <tr>
              	<td>所属分公司</td>
                <td colspan="4">{$list.branch_name}</td>
              </tr>
              <tr>
                <td >地址</td>
                <td colspan="4">{$list.address}</td>
              </tr>
              <tr>
                <td >营地描述</td>
                <td colspan="4">{$list.profiles}</td>
              </tr>
              <tr>
                <td >营地图文介绍</td>
                <td colspan="4">{$list.content}</td>
              </tr>
              <tr>
                <td >营地封面</td>
                <td colspan="4">
                {if !empty($list['cover'][0])}
                <img height="200" width="400" src="{$list.cover[0]}">
                {/if}
                </td>
              </tr>
              <tr>
                <td >营地执照</td>
                <td colspan="4">
                {if !empty($list['license'][0])}
                <img height="100" width="200"  src="{$list.license[0]}">
                {/if}
                </td>
              </tr>
            </tbody>
          </table>
          <div class="modal-footer">
          <a href="/campcontrol/index" type="button" class="btn btn-default" 
               data-dismiss="modal">返回
          </a>
          </div>
        </div> 
      </div>
    </div>
    <!-- /.row -->
